palette: expect palettes/formats to be gamma corrected in 8bit
authorØyvind Kolås <pippin@gimp.org>
Wed, 3 Jan 2018 16:12:41 +0000 (17:12 +0100)
committerØyvind Kolås <pippin@gimp.org>
Wed, 3 Jan 2018 16:12:41 +0000 (17:12 +0100)
commitfabcc6729ed453fb5c5affc565d0e837a78afc5c
tree1671df1be15cf4cad756271ea98f10790c797977
parentd9ae32166b8fa90586959e3dd74e4227b90efdf9
palette: expect palettes/formats to be gamma corrected in 8bit

A correctness correction related to bug #763581 the formats wanted
by GIMP and expected are gamma corrected not linear, I expect this
fix either does not much for GIMP or fixes an unknown 8bit linear
vs gamma quantization problem that has been lurking in INDEXED mode.
babl/babl-palette.c
tests/palette.c